Image forming apparatus and copy management system

ABSTRACT

Additional data useful for the management of copies of a document for an image forming apparatus is embedded in a hard copy of the document. The additional data is embedded in an inherent image of a document as pixels arranged in a prescribed format, and, preferably, the size of the pixels is such as to not be easily recognized with the naked eye. The image data for embedding the additional data can be obtained by reading a document, or by receiving data sent from a computer or read from a floppy disk. Additional data embedded in a hard copy can be extracted from the image data on the hard copy, and the production of a copy according to the image data can be controlled according to the extracted additional data. For example, if the additional data means that the source of the hard copy is a secret document, copying thereof is allowed only for a legitimate user. Additional data generated for each copy is compiled and is used to manage copies of various sources systematically.

RELATED APPLICATIONS

This is a division of application Ser. No. 08/327,223, filed Oct. 21, 1994, now U.S. Pat. No. 5,671,277, which is a continuation of then application Ser. No. 08/084,408, filed Jun. 29, 1993, now abandoned.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to an image forming apparatus such as a printer or a copying machine for producing a copy and a management system therefor which can prevent illegal copying.

2. Description of the Prior Art

Recently, copying machines are developed and used widely. Then, infringement of copyrights and illegal copies of secret documents become problems to be solved. However, it is impossible for analog copying machines to check an original document precisely. Further, for a document including a partial copy, it is quite impossible to manage hard copies after the second generation copy of the original document.

There have been proposed many apparatuses and methods in order to prevent the leakage of secret documents by copying. For example, if a copying apparatus detects a phrase registered beforehand such as "DO NOT COPY" or "CONFIDENTIAL", the copy operation is stopped (Japanese Patent laid open Publication 266,759/1990). However, making an illegal copy is easy by shading the registered phrases. Therefore, if a copy is once obtained by shading the registered phrases, it cannot be prevented to be leaked. It is also disclosed that an illegal copy can be detected by using information on the characteristics of a document on the image of the whole document such as the position and the number of a specified character such as "u". However, this requires a memory of large capacity to store all characters.

In order to prevent illegal copies of paper moneys and valuable securities with a copying apparatus, it is proposed to store a pattern of characteristics of an image for prohibiting copying and to stop the copying operation for an image of a document including such a characteristic (Japanese Patent laid open Publication 52,384/1990). If a whole document image is stored as a characteristic pattern, this copying machine can deal with even a case where a part of the characteristic pattern is shaded. However, in order to store all characteristic information for a secret document, a memory of large capacity is needed also in this case. Further, it is difficult to detect all information in correspondence to copying operation.

It is also proposed that a password is needed for a copying apparatus (Japanese Patent laid open Publications 120,753/1990 and 120,561/1991). However, it is a problem that a password is needed even for a non-secret document.

On the other hand, in order to trace the origin of leakage of a secret document, it is proposed to add information to a part of a copy of a document (Japanese Patent laid open Publication 111,161/1990). That is, information such as recognition data of a copying apparatus, copy data and copy time are expressed as bar codes, and the bar codes are added in a part of a copy. However, this approach is ineffective if the bar codes to be added in a copy is shaded or if bar codes added for another non-secret document is stuck to a copy to re-generate the copy.

It is also proposed to change a font for a secret document from that of an ordinary document in order to recognize a copy of secret document from the others (U.S. Pat. No. 4,837,737). Then, even if the copies of secret documents are edited or changed, a copy of a secret document can be recognized. However, this approach is ineffective if a document includes only drawings, graphs or the like.

The synthesis of character data with image data in the image processing with a computer is proposed (Yasuhiro Nakamura and Kineo Matsui, "A unified coding method of image and text data using three-level micro-patterns", Gazou Densi Gakkaishi Vol. 17, No.1 (1988) 3-9). In the image processing wherein the sum of the dots in a small area of n×n dots is used as a density of a dot to be displayed, a pattern corresponds with a density, and text data are synthesized with image data by using the patterns. However, if this approach is applied to a copying machine, it is impossible to recognize the patterns in a hard copy. Therefore, this approach cannot be applied to trace the leakage of secret documents.

SUMMARY OF THE INVENTION

An object of the present invention is to provide an image forming apparatus which can prevent an illegal copy effectively.

Another object of the present invention is to provide an image forming apparatus which can detect an illegal copy effectively.

A further object of the present invention is to provide a copy management system which can manage copies to detect and to prevent an illegal copy.

In one aspect of the present invention, additional data useful for the management of copies of a document produced by an image forming apparatus is embedded in a hard copy of the document. The additional data is embedded in an inherent image of a document as discrete dots arranged in a prescribed format. Preferably, the size of each of said discrete dots is not so large as to be recognized easily with naked eyes. The additional data can be embedded in unit blocks. Further, the density of the discrete dots is selected to be different from the density adjacent to the discrete dots. The image data for embedding additional data can be obtained by reading a document, or by receiving data sent from a computer, or read from a floppy disk.

In a second aspect of the present invention, additional data embedded in a hard copy as mentioned above can be extracted from an image on the hard copy. That is, the image data includes additional data embedded in the inherent image as discrete dots arranged in a prescribed format, and it can be recognized and extracted. Further, an image forming means for producing a copy according to the image data can be controlled according to the extracted additional data. For example, if the additional data means that the source of the hard copy is a secret document, the copying is allowed only for a legitimate user.

In a third aspect of the present invention, additional data as mentioned above is generated for each copy according to the extracted additional data. Then, the generated additional data is embedded in a hard copy. Thus, each copy can be identified.

In a fourth aspect of the present invention, a management means stores the additional data generated for each copy produced in a plurality of printers and the like. Thus, copies of various sources can be managed systematically and illegal copies can be traced easily. If the additional data extracted from an image in a hard copy is not consistent with the additional data already stored, the printing of the hard copy may be prohibited.

In a fifth aspect of the present invention, a document such as a book includes a wireless transmitter which transmits additional data of the document. The additional data received is used to control the image forming means.

An advantage of the present invention is that the situation of copying can be grasped according to the additional data. For example, the total copy number from the same original document can be counted easily.

Another advantage of the present invention is that additional data for managing copies can be embedded in an image of a document without deteriorating the reproduced image substantially.

Another advantage of the present invention is that an illegal copy, such as a copy of a secret document by a non-user, can be detected according to the additional data extracted from the copy.

A further advantage of the present invention is that the leakage of a secret document can be prevented.

A still further advantage of the present invention is that an illegal copy can be detected even if a document is edited.

BRIEF DESCRIPTION OF THE DRAWINGS

These and other objects and features of the present invention will become clear from the following description taken in conjunction with the preferred embodiments thereof with reference to the accompanying drawings, and in which:

FIG. 1 is a block diagram of a hard copy management system;

FIG. 2 is a diagram of an example of hard copy generation codes embedded in hard copies;

FIG. 3 is a diagram of an example copy code;

FIG. 4 is a diagram of an example of binarized data of additional data to be embedded in a hard copy;

FIG. 5 is a diagram of an example of the binarized data divided into data of variable length;

FIG. 6 is a diagram of an example of a data block of block number "1" and "65" when binarized data of additional data is divided into 8-bit data;

FIG. 7 is a diagram of an example of density data of data block of block number "1" embedded in an image;

FIG. 8(a) is a diagram of an image of a character "a" embedding a data block;

FIG. 8(b) is an enlarged view of the lower right-hand section of FIG. 8(a);

FIG. 8(c) is an enlarged view of a portion of FIG. 8(b);

FIG. 8(d) is a numeric representation of the data bits shown in FIG. 8(c);

FIG. 9 is a diagram illustrating a procedure for embedding a data block of the additional data in a hard copy by using density blocks;

FIG. 10(a) is a diagram of an example of an image of a document consisting of various densities wherein additional data is embedded;

FIG. 10(b) is an enlarged view of the right-hand section of the image shown in FIG. 10(a);

FIG. 11(a) is a diagram for changing the density of a document image when the density of the document image changes continuously;

FIG. 11(b) is an enlarged view of the area designated by the box in FIG. 11(a);

FIG. 12(a) is a diagram of an example of a process of embedding additional data for a document image wherein long data cannot be embedded continuously;

FIG. 12(b) is an enlarged view of the middle section in FIG. 12(a);

FIG. 13 is a block diagram of a processor which also illustrates a main flow of data;

FIG. 14 is a block diagram of an image reading section;

FIG. 15 is a block diagram of an image reading section and a code data reading section in the image reading section;

FIG. 16 is a flowchart of the processing of the image reading section;

FIG. 17 is a block diagram of an operational section;

FIG. 18 is a block diagram of a packet analysis section;

FIG. 19 is a diagram of a format of image data received from a computer;

FIG. 20 is a block diagram of the packet analysis section;

FIG. 21 is a block diagram of a floppy disk analysis section;

FIG. 22 is a diagram of a format of image data received from a floppy disk;

FIG. 23 is a flowchart of the processing of the floppy disk analysis section;

FIG. 24 is a block diagram of an image decision and recovery section;

FIG. 25 is a flowchart of the processing or the image decision and recovery section;

FIG. 26 is a flowchart for providing numerical data of characteristic points;

FIG. 27 is a flowchart of the recovery of additional data;

FIG. 28 is a block diagram of an additional data management section;

FIG. 29 is a flowchart for embedding new additional data in the additional data management section;

FIG. 30 is a flowchart of the generation of data to be embedded;

FIG. 31 is a block diagram of a main controller;

FIG. 32 is a flowchart of the processing of the main controller;

FIG. 33 is a flowchart of hard copy processing;

FIG. 34 is a flowchart of extraction processing;

FIG. 35 is a flowchart of the processing of a modified document;

FIG. 36 is a flowchart of secret management processing;

FIG. 37 is a flowchart of record management;

FIG. 38 is a flowchart of addition to additional data;

FIG. 39 is a block diagram of a management unit;

FIG. 40 is a diagram of the situation of additional data being stored in the management unit;

FIG. 41 is a flowchart of the processing of the management unit;

FIG. 42 is a flowchart of the summation of total copies;

FIG. 43 is a diagram of the result of the summation displayed in the operational section or printed by the output section;

FIG. 44 is a flowchart of examination of a flow path; and

FIG. 45 is a diagram of an example of the result of the examination of flow path.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT

Referring now to the drawings, wherein like reference characters designate like or corresponding parts throughout the views, embodiments of the present invention will be explained below in the following order:

(1) General outline of copy management system

(2) Binarization and embedding of additional data

(3) Detailed explanation of image processor

3-1 Outline of the blocks in the image processor

3-2 Image reader

3-3 Operation unit

3-4 Packet analysis section

3-5 Floppy disk analysis section

3-6 Image decision and recovery section

3-7 Drawing section

3-8 Additional data management section

3-9 Secret management section

3-10 Communication management section

3-11 Main controller

(4) Management unit

4-1 Structure of the management unit

4-2 Format of memory

4-3 Function of the management unit

(1) General Outline of Copy Management System

When a hard copy of an image read from a document is produced, digital additional data used to manage copies are embedded in image data and the synthesized image is printed. The digital additional data has a size so small that it cannot be recognized by an ordinary user with naked eyes.

Additional data to be embedded in a hard copy comprise, for example, the following data: "Is this a secret document?", "What generation is this copy from an original source such as an original document?", "When and by whom is this copy produced?". That is, the additional data comprises data useful for copy management. Therefore, a new hard copy can be prevented to be produced from a hard copy with embedded additional data. Further, even if the secret document is leaked illegally, the leakage path can be confirmed and traced by reading the additional data embedded in the hard copy brought out illegally.

FIG. 1 shows a structure of a hard copy management system which comprises a plurality of image processors 100 and 101 (and others not shown explicitly in FIG. 1 for simplicity) for producing copies and a management unit 200 for managing the copies. The image processors 100 and 101 produce copies of documents and send information including the number of the copies to the management unit 200, and the management unit 200 grasps the state of each image processors 100 and 101. Sources for the image processor 100 include a computer 102 and a floppy disk (FD) 104 as recording media and a document 103.

When the image processors 100 and 101 produce a hard copy according to image data read by or received from a source, it embeds additional data pertaining to copy management in hard copies and sends the additional data via a telephone line 105 to the management unit 200 for managing the copy. If the document 103 is an original source, the image data includes only data relating to the document image. On the other hand, if the document 103 is a hard copy produced from an original source, the hard copy includes additional data added to the images from the previous copying operation(s) as well as the image data of the original document. The management unit 200 analyzes the total number of illegal copies derived from original sources according to the additional data and the leakage path of the illegal copies on the basis of the additional data received from the image processors 100 and 101.

Table 1 shows an example of additional data which consists of intrinsic data according to the image data received from each source and common data added irrespective of source. Additional data comprise information on generation, user, copying apparatus and the like. Therefore, by embedding additional data in a hard copy, the leakage path of copies can be grasped.

                  TABLE 1                                                          ______________________________________                                         Additional data                                                                source    intrinsic data   common data                                         ______________________________________                                         document  document name (e.g., book                                                                       user name                                                     name)            date                                                          book code        copy code                                                     page number      generation code                                               generation code  password number                                               copy code        apparatus recog-                                              password number  nition code                                                   rank of secret   forged document                                               total pixel number                                                             forged document                                                      computer  data name (file name and                                                       the like)                                                                      page number                                                          floppy    volume name                                                          disk      file name                                                                      page number                                                          ______________________________________                                    

In Table 1, the book code is an intrinsic code registered for each book in order to identify a book. The apparatus recognition code is a recognition number intrinsic for image processors 100 and 101 or the like which can add additional data in order to identify which image processors 100 and 101 processes and produces the hard copy. The volume name is a recognition code of a floppy disk 104 in order to identify which floppy disk is used to produce the hard copy.

The generation code is data used to represent the generation from the original source. FIG. 2 shows an example of generation codes. The generation codes of the hard copies in the first generation increases from "1" to "n" successively according to the sequential copy number up to "n". The generation codes of hard copies of second generation from the n-th hard copy in the first generation increases from "n1" to "nm" successively according to the sequential copy number up to "m". That is, the digits of the generation code increase with the generation. If a generation code is not included in the image data produced from a source, data on the generation code is always added when a copy is produced, while if a source of the document 103 already includes a generation code, a new modified generation code is added in subsequent hard copies.

The copy code denotes a sequential number of copies produced from a common original source, irrespective of the generation code. As shown in FIG. 3, a copy code comprises an apparatus recognition code intrinsic for an image processor, a source number intrinsic for a source, and the number of copies. The source number is assigned sequentially if only one image processor is used. If a plurality of image processors is used, the source number is assigned successively for copies for each image processor or it is determined by using both copy number and apparatus recognition code. Because the number of copies agrees with the lowest significant digits data in the generation code (refer to FIG. 2), it can be omitted if a relation between the generation code and the number of copies is defined beforehand in the present system. If a copy code is included in an additional code, as explained above, the number of the hard copies based on the same original can be obtained easily. If a legitimate user compares the copy number remembered by him or her with the result, it can be decided if illegal copying is performed or not.

If a password is not included in the image data from the source, a user can set a password by using an operation unit provided in the image processors 100 and 101.

(2) Binarization and Embedding of Additional Data

Additional data are digital data which can be embedded in an image as discrete points, and an example of the binary code of additional data is explained below. Further, the embedding of the digital data in a plurality of areas in a hard copy will be explained next.

Additional data are expressed as continuous data with the above-mentioned data lengths as shown in FIG. 4. Most of the data in additional data can be defined with a specific length. For example, the book code and the book name can be expressed sufficiently with a data length of 20 digits (20 bytes), and 20 bytes are assigned to the book code and the book name. Similarly, 2 bytes, 8 bytes, 4 bytes, 3 bytes, 2 bytes and 1 byte are assigned to the page number, copy number, user identification number, use time data, password number, total number of pixels and the number of generations expressed in a generation code and generation code, respectively. Among the data shown in Table 1, only the generation code is variable-length data and data of 2 bytes times the number of generations. That is, the data length of the generation code is increased with the number of generations so as to avoid the assignment of unnecessary data length. Then, the total length of additional data is 64 bytes (512 bits) or more.

Preferably, additional data can be embedded in each hard copy in at least two positions. Further, the order of each data in the additional data is determined beforehand, and if relevant data is not available, temporary data of "0"'s or the like is substituted in the additional data.

The additional data have to be embedded by the image processors 100 and 101 in a modest way so that an ordinary man cannot recognize it. However, there may be a case wherein it is hard to embed the additional data in a hard copy in a modest way because the data length of the additional data shown in FIG. 4 is long. In order to overcome this situation, additional data can be divided into blocks of a predetermined data length for embedding the additional data block units of data in a hard copy. A block number is added to each data block in order to identify the position in the additional data. If it is difficult even to embed a block, the order of superiority in the blocks are determined beforehand, and blocks of inferior order are not embedded. In order to recover additional data from a hard copy, data from each data block with a block number are read, and the data are rearranged in the order of the block numbers to restore the additional data. Data from the blocks which are unable to be read are deleted from the restored additional data.

Further, the data block may be generated in a different way. For example, as shown in FIG. 5, the data length of the blocks may be variable and a code may be added at the top of the blocks in order to recognize the format. In FIG. 5, the "compression code" means a code data compressed with a predetermined compression algorithm. In this method, it is needed to determine the compression algorithm of the compression code and the like beforehand.

In this embodiment, additional data shown in FIG. 4 is divided into 8 byte blocks. FIG. 6 shows examples of data blocks of the first and 64-th blocks for this example. A block number is expressed as 7-bit data, and a data block of a total of 15 bits is defined with an MSB of "11" and an LSB of "01". In order to read each data block embedded in a hard copy, data are determined to be an embedded data block if there are pixels of a predetermined number between an MSB of "11" and an LSB of "01".

FIG. 7 shows a situation of embedding the first block shown in FIG. 6 in an image. When a data block is embedded in an image, one level (say "0") of a binarized data is expressed at a density which is the same as those of adjacent pixels, while the other level ("1") is expressed at a density which is a little different from those of adjacent pixels. This data is hereinafter referred to as "density data". Further, in the example shown in FIG. 7, the density data in a block are arranged within a distance of one pixel. A data block consists of total 19 bits (=2+7+8+2), and it can be embedded if there is a line of a length more than 40 dots, as shown as a central horizontal dot line in FIG. 7. The 40 dots have a length of 1/10 inch (about 2.5 mm) for a printer or an image reader of a resolution of 400 dots per inch, and black lines of such a length may exist in most documents including characters. That is, additional data of 40 dots can be embedded sufficiently in such a document.

Next, the data conversion into density data and the embedding data blocks of additional data in an image in a hard copy is explained. FIGS. 8(a)-(d) illustrate an example of the data conversion and the embedding. FIG. 8(a) denotes an enlarged view of a character "a" of a font of 12 point, while FIG. 8(b) denotes an enlarged view of a part of the character "a" of FIG. 8(a). In this example, additional data ("1101") are embedded at positions as shown in FIG. 8(c) encircled by an oval. The density data shown in FIG. 8(c) is obtained by converting the data ("1101") shown in FIG. 8(d), and they are embedded at a constant pitch (pixel distance). The Data block of additional data can be embedded in an image at an arbitrary position irrespective of position and direction of density data, and each dot of additional data is so small that it cannot be recognized by the naked eye. Because the embedding position of additional data is not definite, it becomes impossible for a user who wants to leak secret documents to copy them by shading the additional data embedded in a hard copy.

However, if data blocks are embedded in a certain area, they become prominent as noise. Because additional data is desirable not to be recognized by an ordinary user, embedded additional data are dispersed in a hard copy. As an example shown in FIG. 9, additional data may be successively embedded along three directions with respect to a reference corner. Further, in order to minimize the possibility of the absence of density data for a dirty document or for a document prepared as a patchwork, it is desirable to embed a plurality of sets of the same additional data repeatedly in a hard copy as shown in FIG. 9. There may be a case wherein a part of additional data is recovered erroneously due to dirtiness or the like. In this case, an odd number of sets of additional data is embedded in a hard copy, and the effective additional data is determined from a majority decision.

For a document wherein the density of an image is often changed, it becomes hard for additional data to be recognized from an image. Therefore, additional data are embedded at an area wherein the density changes little. However, an additional data can also be embedded over a plurality of areas if there is no density change in each of the areas, for example, in two areas as shown in FIG. 10(b), or if there are areas not having a density assigned for the additional data.

In principle, a predetermined density band is assigned for density data generated from a data block(s) in order to embed additional data. However, as shown in FIG. 11(a), for a half-tone image wherein the density changes continuously, the density values are changed for a density band "Wa" assigned to density data of the data block, as shown enlarged in FIG. 11(b). That is, in FIG. 11(b), the density bands "Wb" at both sides of the density band "Wa", the slope "1" of reproduced density with the image density is changed to a slope of "2", or the image density of document in the density band "Wb" is driven out from the band "Wa".

Long continuous density data cannot be embedded in some figures such as a pattern of parallel narrow lines or the like. In FIG. 12(a), density data can be embedded even in such a case by using each pattern itself as density data to express additional data. Further, as shown in FIG. 12(b), a standard pattern may be embedded in parallel to the additional data (four dots in this example) without using density data for MSB and LSB, and additional data as long as the standard pattern can be embedded. In this method, though the width is enlarged, the length can be shortened.

By performing the above-mentioned procedure, additional data are embedded in a document image (refer to step S742 in FIG. 33), and a hard copy embedded with the additional data can be printed. Then, by reading the additional data embedded in a hard copy, it can be decided if the hard copy is related to a secret document or when the document was copied, which apparatus was used to copy the document, how many copies of the document were made and so on. Then, the leakage of a secret document can be traced to the leakage source.

(3) Detailed Explanation of Image Processor

The structure and the function of the image processor 100 for reproducing a copy is explained below in detail. FIG. 13 shows a block diagram of the image processor 100 and the flow of main data. The flow of the control data for controlling the timing of the entire image processor 100 and the like is omitted. The thick solid line shows a flow for image data, the thin solid line shows a flow for the data in operation, and the dashed line shows a flow for additional data.

3-1 Outline of the Blocks in the Image Processor

An outline of the blocks shown in FIG. 13 will be explained below. Details of each block are explained later. An external interface 1 receives image data from a computer and sends it to a packet (P) analysis section 11. The packet analysis section 11 analyzes image data received by the external interface 1 and extracts image data and additional data. A floppy disk drive (FDD) 2 sends image data of a floppy disk to a floppy disk (F) analysis section 12, and the floppy disk analysis section 12 analyzes the received data to extract image data and additional data. A drawing section 14 generates image data in correspondence to the image data extracted by the packet analysis section 11 or by the floppy disk analysis section 12. An image reader (IR) 3 reads a document placed on a platen and sends the read data to an image decision and recovery section 13 if the document is an original, while read data is forwarded to an additional data management section 18 if the document includes additional data. The image decision and recovery section 13 analyzes the data read by the image reader 3, extracts additional data from the image data, and recovers the additional data and the image data including only image information. The additional data management section 18 compiles various additional data added to the data obtained from various sources, generates and embeds new additional data to the image data stored in an image memory 16, and sends the additional data via a communication management section 5 to the management unit 200. The image memory 16 is used to edit image data to be printed by an output unit 6. A filing unit 8 separately stores image information received from the image memory 16 from the additional data from the additional data management unit 18 by relating the two kinds of data. An operation unit 4 is used to set copying conditions, to display additional data from each source, to display an alarm message for attempting to copy a secret document (according to a secret management section 20), and to allow input of a user ID number, a type of source and the like. The output unit 6 is an electrophotographic printer which produces a hard copy on the basis of image data, with additional data, from the image memory 16 according to the instructions from the operation unit 4. That is, a laser beam exposes a charged photoconductor according to the image data, and the resultant latent image is developed to be transferred on a paper with a known electrophotographic process. An editor 17 processes forging of an image in the image memory 16 according to the instructions from the operation unit 4. The secret management section 20 decides the inhibition of copying and the like according to the additional data compiled in the additional data management section 18 and to the data set by the operation unit 4. The communication management section 5 sends data on the production of a hard copy via a telephone line 105 to the management unit 200 when image data is read from a source or when a hard copy is produced. A main controller 7 controls the whole sequence of the image processor 100 such as reading image data from a source, the start of the packet analysis section 11 and the like, the hard copy processing, the secret management and the like.

3-2 Image Reader

The image reader 3 reads a document 103 (FIG. 1) placed on a platen and sends the read data to the image decision and recovery section 13; provided however, the document is an original document. Otherwise, image reader 3 sends an additional data as well as image data to the image decision and recovery section 13 if the document includes additional data. Further, if a document is installed with a code transmitter, the image reader 3 receives the code information and sends it to the additional data management section 18, as will be explained later. Such a document may be a book which is installed with a code transmitter in order to prevent copying against a copyright.

FIG. 14 shows a block diagram of the image reader 3. In the image reader 3, an image reading section 302 reads a document set on a platen and sends the read image data to an image reader controller 301, which sends the image data via an image interface 304 to a bus B7. A code data reading section 303 reads code data other than the image data and sends the data to the image reader controller 301, which sends the code data via a code interface 305 to a bus B11. An automatic document feeder 307 discharges a document on the platen and feeds a new document on the platen automatically. The image reader controller 301 controls various components such as a motor to drive the image reader 3.

FIG. 15 shows an apparatus which plays roles as the image reading section 302 and the code reading section 303. A document is placed on a platen glass 3021. Code data are read wirelessly with the use of electromagnetic waves. That is, a code transmitter 3030 installed in a document (e.g., a book) transmits code data such as a book name, book code and the like, and the code data is detected with an antenna coil 3031. Because wireless data is received, a read error due to dirtiness of the platen glass 3021 can be prevented. A sender/transmitter 3032 receives the code data and sends it via a code converter 3033 to the image reader controller 301 (FIG. 14).

This type of code reader 303 cannot be used for documents such as a sheet of paper which cannot contain a code transmitter 3030. The antenna coil 3031 is made of a transparent material on the platen glass 3020. However, a coil 3031' may be provided on a scanner 3022 which moves below the platen 3021 to scan a document on the platen glass 3021. The document is exposed by a lamp 3023.

When the antenna 3031 is used, the code data is read before the scan of the scanner 3022 for image reading and before the turning on of the exposure lamp 3023 in order to avoid reading errors due to noise generated by the image reader 3. When the coil 3031' is used, the code data is read in a prescan before turning on the exposure lamp 3023 in order to reduce operational noise as much as possible.

FIG. 16 shows a flow of the image reader controller 301. When an electric power source of the image reader 3 is turned on, the initialization is performed first (step S301). For example, the scanner 3022 is positioned at the start position and the output of the exposure lamp 3023 is kept constant. Next, if a user has decided to press a code data read key (not shown) provided in the operation unit 4 (YES at step S302), code data (additional data) of a document on the platen glass 3021 is read (step S303). When a code transmitter 3030 is installed in a document, the code data is received by the antenna 3031 or by the coil 3031'. Then, the code data is sent to the image reader controller 301 via the sender/transmitter 3032 and the code converter 3033 (step S304). Next, if an image read key (not shown) provided in the operation unit 4 is pressed (YES at step S305), the image reading section 302 reads a document on the platen 3021 (step S306). That is, in the image reading section 302, a document is exposed by the lamp 3023, the scanner 3022 is moved to read image data, and the obtained image data are sent to the image reader controller 301.

3-3 Operation Unit

FIG. 17 shows a block diagram of the operation unit 4 shown in FIG. 13. In the operation unit 4, copying conditions are set; additional data read from each source are displayed; a password, a user ID, the source type or the like can be inputted; and an alarm is displayed when the secret management unit 20 decides to prohibit copying.

An operation controller 401 controls the operation unit 4. A message display 402 displays additional data read from a source and displays an alarm message when the secret management section 20 decides to prohibit copying. A setting input section 403 is used to designate the type of source, to set the copying conditions of the output unit 6 for producing a hard copy, to indicate the forging processing for the editor 17, and to input a user ID number and the like. An IC card interface 404 is used to input a user ID number with use of an IC card owned by each user. The input data is sent via an interface 405 to a bus B9. A calendar 406 manages the year, month, day and time. An intrinsic data memory 407 stores an intrinsic recognition code which has been determined beforehand for each image processor.

3-4 Packet Analysis Section

The packet analysis section 11 shown in FIG. 13 analyzes the image data received from the computer 102 via the external interface 1. FIG. 18 shows a block diagram of the packet analysis section 11. Image data is received via an interface 112 and stored in a buffer 113. The image data received by the interface 112 has a predetermined format and, as shown in FIG. 19, consists of image data and additional data. The additional data includes a data name, such as a file name and a page number, while the image data includes a format designation data, a position designation data, character codes, and figure codes. The packet analysis processor 111 analyzes the image data stored in the buffer 113 by using a work memory 114 and sends image data on print output via an interface 116 to the drawing section 14 and additional data via an interface 117 to the additional data management section 18. The drawing section 14 generates image data in an image memory 18 according to the received image data.

FIG. 20 shows a flow of the analysis of the packet analysis unit 11. This processing may be performed by the packet analysis processor 111 (FIG. 18). After the initialization (step S1101), processor 111 awaits the receipt of image data from the external interface 1, connected to the computer 102 (step S1102). When image data are received, the data are analyzed. That is, print data (character codes and figure codes) (YES at step S1103) are sent to the drawing section 14 (step S1104). If format control data such as format data or print position data are received (YES at step S1105), internal edition conditions are changed according to the data (step S1106). If additional data is received (YES at step S1107), it is sent to the additional data management section 18 (step S1108). Otherwise a different processing is performed (step S1109). This processing may also be performed by a processor 701 in the main controller 7 with time sharing.

3-5 Floppy Disk Analysis Section

FIG. 21 shows a block diagram of the floppy disk analysis section 12 which analyzes the image data stored in a floppy disk. A floppy disk stores a plurality of files, and a file is designated via a bus B9 from the operation unit 4. Image data in a floppy disk is received via an interface 122 and stored in a buffer 123. The image data received by the interface 122 have a predetermined format and, as shown in FIG. 22, consist of image data and additional data. The additional data includes a volume name of the floppy disk, a data name, such as a file name and a page number, while the image data includes a format designation data, a position designation data, character codes, and figure codes. The floppy disk analysis processor 121 analyzes the image data stored in the buffer 123 by using a work memory 124. The processor 121 sends image data for print output, via an interface 126, to the drawing section 14 and additional data, via an interface 127, to the additional data management unit 18. The drawing section 14 generates image data in an image memory 18 according to the received image data.

FIG. 23 shows a flow of the analysis of the floppy disk analysis unit 21. This processing may be performed by the floppy disk analysis controller 121. After the initialization (step S1201), processor 121 awaits the receipt of image data via a bus B6 connected to the floppy disk drive 2 (step S1202). When image data is received, the data is analyzed. That is, print data (character codes and figure codes) (YES at step S1203) are sent to the drawing section 14 (step S1204). If format control data, such as format data or print position data, are received (YES at step S1205), internal edition conditions are changed according to the data (step S1206). If additional data are received (YES at step S1207), the data are sent to the additional data management section 18 (step S1208). Otherwise a different processing is performed (step S1209). This processing may also be performed by a processor 701 in the main controller 7 with time sharing.

3-6 Image Decision and Recovery Section

The image decision and recovery section 13 analyzes image data to separate image data for printing from that embedded as additional data. Further, the image decision and recovery section 13 recovers continuous additional data from the data block, and it also recovers the image data of a document before adding additional data.

FIG. 24 shows a block diagram of the image decision and recovery section 13. Image data is received via an interface 132 and stored in an image memory 133. The image analyzes processor 131 analyzes the image data stored in the image memory 133 by using a characteristic point memory 134 and a block management memory 135. The processor 131 sends recovered image data, via an interface 136, to the drawing section 14 and additional data, via an interface 137, to the additional data management unit 18.

FIG. 25 shows a flow performed by an image analysis processor 131. After the initialization (step S1301), image data are received (YES at step S1302). Then, the image data are divided into areas, each for different density distribution in an image (step S1303), and coordinates for characteristic points are searched (step S1304). A characteristic point denotes a pixel having a predetermined density (refer to FIG. 7). Further, binary numbers are extracted from the characteristic points according to the predetermined position relation (step S1305, refer to FIG. 26). The binary numbers extracted from the data blocks are rearranged in the order of block numbers according to a predetermined procedure to recover additional data (step S1306, refer to FIG. 27). After the extraction of binary numbers is completed, the characteristic points are deleted from the image data (step S1307) to recover image data before adding the additional data. The deletion of characteristic points can be performed by replacing each characteristic point with a density of the pixels adjacent to the characteristic point. The extracted additional data is sent via the interface 137 to the bus B11 (step S1308), while the recovered image data is sent via the interface 136 to the bus B4 (step S1309). Then, the flow returns to step 51302.

FIG. 26 shows a flow of the extraction of binary numbers (step S1305 in FIG. 25). The extraction of binary numbers from characteristic points is performed by judging the position relationship of characteristic points. In this embodiment, a block of additional data is embedded linearly within a predetermined range. The embedding may not necessarily be performed in a linear line and may be performed for example on an arc if the position relationship is defined beforehand.

First, a characteristic point is designated (step S1310). Then, all the other characteristic points existing within the predetermined range are searched (step S1311). The maximum length of the predetermined range amounts to the length of a block (i.e., the bit length times the bit-to-bit distance). Next, it is confirmed if the coordinates of the characteristic points have the predetermined position relationship (a linear line in this example) (step S1312), and invalid coordinates and data are deleted (step S1313). Then, the coordinates of the valid data of a block are converted to a binary number (step S1314). Next, if it is decided that the binary number has a prescribed number of bits (YES at step S1315) and that the binary number includes top and last recognition bits (YES at step S1316), the binary data is stored as valid data (step S1317). The above-mentioned processing is repeated until all characteristic points are processed (YES at step S1318).

FIG. 27 shows a flow of the recovery of additional data (step S1306 in FIG. 25) wherein the data of the valid blocks obtained at step S1305 are converted to binary data. First, the data of the valid blocks are arranged in a row in the order of block number included in the data (step S1320). Then, if it is decided that enough blocks are available to at least recover the additional data (YES at S1323), the data of each block is checked (step S1322). In this embodiment, a plurality of sets of additional data are embedded in a hard copy, and it is verified if the data of the same block numbers are the same. If the data of the same block number are not the same, the data of the majority is adopted. If the data of the blocks cannot be determined by a majority decision, the data is made invalid. If the number of invalid blocks is more than a predetermined number (YES at step S1323), this means that the hard copy is a forged document made from a patchwork of a plurality of documents, and the flow returns readily to the main flow to report it to the additional data management section 18. If it is decided that the hard copy is not a forged document (NO at step S1323), the data of the invalid blocks are deleted (step S1324) and the data of the valid blocks are rearranged to recover the additional data (step S1325). Further, imperfect data having defects are initialized with predetermined values such as zeros or spaces (step S1326). The additional data recovered in this way are used by the main controller 7, the additional data management section 18, and the management unit 200, as will be explained later.

3-7 Drawing Section

As shown in FIG. 13, the drawing section 4 draws an image in the image memory 16 according to the character codes and figure codes received via the bus B3 from the packet analysis section 11, the floppy disk analysis section 12, or via the bus B4 from the image decision and recovery section 13. The structure and the drawing technique are similar to those for a bit map type printer controller. However, if the image to be drawn is a half-tone image, density bands assigned for the data block are not used (refer to FIG. 7).

3-8 Additional Data Management Section

The additional data management section 18 shown in FIG. 13 receives additional data via the bus B11 from the packet analysis section 11, the floppy disk analysis section 12, the image decision and recovery section 13, and the image reader 3, and compiles and manages the received data from each source. As will be explained later, the compiled additional data is used to generate new additional data in a hard copy processing (refer to step S739 in FIG. 33), carried out by the main controller 7. The generated additional data is then embedded in a hard copy (refer to steps S742 and S743 in FIG. 33).

FIG. 28 shows a structure of the additional data management section 18. A processor (CPU) 181 receives code data from the bus B11 through a code interface 182 and operation data via an operation data interface 184. The processor 181 makes a drawing section 183 embed additional data in an image stored in the image memory 16 (FIG. 13). The processor 181 is controlled by the main controller 7. The processor 181 accesses directly the image memory 16 via the bus B1 when blocks of additional data, designated by the operation unit 4 are searched by using an area not used in the image memory 16 as a work area. A counter 186 counts the area of a pattern by counting the number of pixels. An image comprises density data of a prescribed resolution, and the area is obtained for simplicity by counting the number of pixels having a density larger than a prescribed density. In order to improve the precision of the management, the areas of various density bands may be counted.

                  TABLE 2                                                          ______________________________________                                         Data received from various sources                                             sender     source      intrinsic information                                   ______________________________________                                         image reader                                                                              book        document name (e.g., book                                                      name)                                                                          book code                                               image      document    document name (e.g., book                               decision and                                                                              book        name)                                                   recovery               book code                                               section                page number                                                                    generation code                                                                copy code                                                                      password number                                                                rank of secret                                                                 total pixel number                                                             forged document code                                    packet     computer    data name (e.g., file                                   analysis               name)                                                   section                page number                                             floppy disk                                                                               files of    volume name                                             analysis   floppy disk file name                                               section                page number                                             operation  values set  user name (user code)                                   unit       by a user   date                                                               IC card     number of copies                                                               password number                                                                apparatus recognition                                                          code                                                    ______________________________________                                    

Table 2 shows a part of the additional data sent from various sources to the additional management section 18. The value of a secrecy rank is increased with increasing degrees of secrecy (for example, 5 for the highest level of secrecy). If the value is zero, it means an ordinary document (i.e., not secret).

The additional data received by the additional data management section 18 are classified for each source as shown in Table 3. Usually, only one set of source data is embedded in a hard copy. However, a forged document made of a patch work of a plurality of documents may include a plurality of data sets. In such a case, the additional data management section 18 manages the plurality of sets of data, while the same values are used for the data other than the source data.

                  TABLE 3                                                          ______________________________________                                         Classification of additional data                                              ______________________________________                                         Additional data                                                                             source data  name (e.g. docu-                                                               ment name, file                                                                name, data name)                                                               book code                                                                      page number                                                                    generation code*                                                               rank of secret                                                                 password number                                                                forged document                                                                code                                                                           total pixel                                                                    number*                                                                        copy code*                                                        copy conditions                                                                             number of copies                                                  user data    user name                                                         apparatus data                                                                              date                                                                           apparatus recog-                                                               nition code                                          ______________________________________                                          NB. Marks "*" are updated for each copy.                                 

Next, it is explained how to generate new additional data (refer step S739 in FIG. 33). A document name can be added by a user with the operation unit 4, or generated from the date and the user name, while a book code are stored in a code transmitter 3030 installed on forming a document. The data is fixed. The same data is transferred on copying.

A page number, a file name, a volume name, and a data name are sent at the same time as the print data on printing from a word processor or a computer. The data is fixed. The volume name is received from the computer 102, while the data name is received from a floppy disk 104.

A generation code is added by the main controller 7 automatically on printing a hard copy. When a hard copy is newly produced, the generation is set to be one and the generation code is expressed as "1n", wherein the first digit "1" means the generation number and the last digit "n" means the sequential number of copies obtained from the same source. The generation number of a hard copy without additional data is also set to be one. The generation code is increased for each copy of a new generation (refer to FIG. 2.).

A copy code is generated successively in an image processor. It is not related to the additional data included in a document.

A password and a secrecy rank are kept the same, if included in a document. They are set by the operation unit 4, if not included in a document. A password once set cannot be changed.

A total pixel number is counted when the edition of an output image is completed. The pixels for the additional data included in a document are not counted.

A date when a hard copy is produced is set by using a calendar provided in the operation unit 4.

A user name and a user ID number are read from an IC card, which is set by a user in the operation unit 4.

An apparatus recognition code is intrinsic for a printer, and the code is registered beforehand in the additional data management section 18. A hard copy produced with the same printer has the same apparatus recognition code.

A forged document code is kept the same if included in a document. Alternatively, a forged document code is added when the main controller 7 determines that a document is forged.

As explained above, the data included in the additional data can be generated and can be embedded in a hard copy. Therefore, by analyzing additional data in a hard copy, a user name, a date, the number of copies can be obtained for each hard copy, and the analysis of the leakage path of a secret document becomes easy.

FIG. 29 shows a flow of embedding additional data (step S742 in FIG. 33) carried out by the additional management section 18 under the control of the main controller 7. First, data blocks of binary numbers are generated by dividing the additional data into blocks of a predetermined dot number added with a block number (step S1801, refer to FIG. 30). Next, in order to embed each data block in a hard copy, as shown in FIGS. 7 and 8, the values of the data block are converted into signals of density, data (step S1802). Then, areas for embedding the data block in a hard copy are searched (step S1803). Then, if an area as long as a predetermined length is decided to exist (YES at step S1804), or if an area is determined to have insufficient length but it is decided to be extensible to an adjacent area because the density changes gradually (YES at step S1805), the positions of each dot are determined (step S1806), and the density values in a density block appropriate for the positions are determined for the positions (step S1807). Next, the data block determined above are written in the image data (step S1808). The above-mentioned processing is repeated until all additional data are processed (YES at step S1809). Further, the above-mentioned processing is repeated until a predetermined number of sets are embedded (YES at step S1810).

FIG. 30 shows a flow of the generation of data to be embedded (step S1801 in FIG. 29). First, check codes for making it possible to recover embedded data blocks and codes for error correction are calculated (step S1820), and the total data length of additional data illustrated in Fig.4 is calculated (step S1821). Further, the bit number for dividing the additional data into blocks is calculated and the number of blocks is calculated (step S1822). Further, a block number is added to each data block obtained by dividing the additional data (step S1823) and the mark LSB for designating the start of the data block and the mark MSB for designating the end of the data block are added (steps S1824 and S1825). Thus, a data block as shown in FIG. 6 can be generated.

3-9 Secret Management Section

When the additional data management section 18 detects a secret document having a rank of one or more, the secret management section 20 requests the operation unit 4 to input a password or, if a book code is set in the additional data, a book code. If a password or a book code, if necessary, are received from the operation unit 4, the secret management section 20 compares them with the counterparts managed by the additional data management section 18, and sends the result to the operation unit 4. If the password and the book code received from the operation unit 4 are different from the counterparts in the additional data management section 18, the secret management section 20 prohibits the copying to prevent the illegal leakage of a secret document. The above-mentioned processing is carried out by the main controller 7 (refer step to S715 in FIG. 32).

3-10 Communication Management Section

The communication management section 5 transmits additional data compiled and managed by the additional data management section 18 via a telephone line to the management unit 200 each time image data is received from a source or a hard copy is produced.

3-11 Main Controller

FIG. 31 shows a structure of the main controller 7 which carries out the reading of image data from each source; the starting of the packet analysis section 11, the floppy disk analysis section 12, and the image reader 3; and the sequence control of the hard copy processing and the secret management. The main controller 7 consists of a processor (CPU) 701, a program memory 702 which stores a program run by the processor 701, a data memory 703, and an interface 704 which interferes with each function block in the image processor 100.

FIG. 32 shows a flow of the processor 701. First, the main controller 7 is initialized (step S701) and the initialization of the image processor 100 is commanded (step S702). The processing is started when a user inputs a request with the operation unit 4 (YES at step S703) or when the computer 102 sends data (YES at step S704).

If the input from the computer 102 is an analysis request for the packet analysis section 11 (YES at step S704), completion of the processing from the packet analysis section 11 is awaited. The packet analysis section 11 analyzes a page of data as explained above, and separates the additional data from the image data. Then, the packet analysis section 11 indicates image data to the drawing section 14 to draw an image in the image memory 16 while it sends the extracted additional data to the additional data management section 18. Finally, the packet analysis section 11 sends the completion of the processing to the main controller 7. Then, the main controller 7 makes the additional data management section 18 transmit the additional data to the management unit 200 (step S705), and it makes the output unit 6 print the image in the image memory 16 to output a hard copy (step S706, refer to FIG. 33). These processings are performed for each page of the data from the computer 102. Then, the flow returns to step S703.

If a print start is decided to be instructed with the operation unit 4 (YES at step S707), it is determined next if a floppy disk is set in the floppy disk drive 2 (step S708). If a floppy disk is set, a hard copy of a file stored in the floppy disk is requested to be produced so that the floppy disk analysis section 12 is activated (step S709). As explained above, the floppy disk analysis section 12 separates the additional data from the image data. Then, the floppy disk analysis section 12 sends the image data to the drawing section 14 to draw an image in the image memory 16 while it sends the extracted additional data to the additional data management section 18. Finally, the floppy disk analysis section 11 indicates completion of the processing to the main controller 7. After completion of the processing of the floppy disk analysis section 12, the main controller 7 makes the additional data management section 18 transmit the additional data to the management unit 200 (step S710), and it makes the output unit 6 print the image in the image memory 16 to output a hard copy (step S711, refer to FIG. 33). A file in the floppy disk consists of a plurality of pages and these processings are performed per unit page. If the processing of all pages is decided to be completed (YES at step S712), the flow returns to step S703.

If a floppy disk is not set, the image reader 3 is activated (step S713). Then, as explained above, the image reader 3 reads a document on the platen glass and reads a book code if the document is a book with a code transmitter. Then, the image decision and recovery section 13 is activated (step S714). Then, as explained above, the image decision and recovery section 13 checks the data block of additional data embedded in a hard copy and recovers the additional data. Then, the image decision and recovery section 13 sends the additional data to the additional data management section 18 and stores the recovered image data in the image memory 16. After completion of the processing of the image decision and recovery section 13, the main controller 7 performs the secrecy management (step S715, refer to FIG. 36). If the document is decided not to be a secret document or if prescribed data including a password is inputted for a secret document (YES at step S716), the book code received by the additional data management section 18 and the additional data recovered by the image decision and recovery section 13 are sent via the communication management unit 5 to the control unit 200 (step S717), and a hard copy is produced by sending the image data from the image memory 16 to the output unit 6 (step S718, refer to FIG. 33). If a plurality of documents is set in the automatic document feeder 307, the above-mentioned processing is repeated until all pages are printed (YES at step S719). Then, the flow returns to step S703.

A mode for each functional block is set with the operation unit 4 (step S720). If a secrecy mode is elected (YES at step S721), the mode is changed to the secrecy mode (step S722). If record management is instructed for managing the generation of hard copies and the sum of copy numbers (YES at step S723), a password is received (step S724), and if the password received is verified to agree with the registered password (YES at step S725), the record is verified next (S726, refer to FIG. 37). If record management is determined not to be instructed (NO at step S723), a data is added to the additional data to be embedded in a hard copy (step S727, refer to FIG. 38). Then, the flow returns to step S703.

FIG. 33 shows a flow of hard copy processing (steps S706, S711, S718 in FIG. 32). First, the area of a pattern of image drawn in the image memory 16 is measured (step S730). Though an image consists of density data of a predetermined resolution, the total number of pixels having a density larger than a predetermined value is counted as the area of a pattern for simplicity. Next, the extraction processing is performed for secret management (step S731, refer to FIG. 34).

Then, it is decided if the document is a forged document (step S732). In this decision, the total number of pixels set in the additional data is compared with that counted at step S730, and if the difference between them is larger than a predetermined number, the document is decided to be a forged document. Further, if the image decision and recovery section 13 decides that the document is a forged document because a plurality of additional data is included, the document is decided to be a forged document. If the document is decided to be a forged document (YES at step S732), forging record processing is performed (step S733, refer to FIG. 35).

Next, the additional data is instructed to be displayed by the operation unit 4 (step S734). However, the password and the like are not displayed because they are secrets.

Then, the editor 17 is requested to edit the document image if the edition is instructed with the instruction unit 4 (step S735). If the document image is decided to be changed according to the edition (YES at step S736), it is decided that a part of the document is forged and the forging record processing is performed (step S737, refer to FIG. 35). Thus, the above-mentioned processing on forging is completed, and the master data are saved in the image memory 16 (step S738).

Next, a hard copy is produced. That is, the main controller 7 generates new additional data by sending a command to the additional data management unit 18 (step S739), and sends the additional data to the management unit 200 (step S740). Then, the data saved in the image memory 16 is read again (step S741), and the additional data is embedded in the image data by the additional data management section 18 (step S742, refer to FIGS. 29 and 30), as explained above in detail. Next, the output unit 743 is activated (step S743). Thus, the image data is read from the image memory 16 synchronously with the output unit 6 for printing. After the completion of the hard copy (YES at step S744), if it is decided that hard copies of the predetermined total number is not completed (NO at step S745), the flow returns to step S739. The generation code and the copy code are updated for each hard copy. Further, as to the total number of pixels, the count on the image after the edition (step S735) is added.

FIG. 34 shows a flow of the extraction process (step S731 in FIG. 33) for monitoring what is copied for each user. First, a user name is confirmed at the setting of an IC card and the like by the additional data management section 18 (step S770), and the additional data (stored in the additional management section 18) on the source to be printed is compared with the previous history of the user on the hard copies reproduced by the user stored in the filing unit 8 (step S771). If it is decided that the source under printing is determined to be a new source for the user (YES at step S772), the additional data and the image data are stored in the filing unit 8 (steps S773 and S774).

FIG. 35 shows a flow of forging record processing (steps S733, S737 and S757 in FIG. 32). The image data determined to be a forged document is read (step S780), and the additional data and the image data are filed in the filing unit 8 (step S781 and S782).

FIG. 36 shows a flow of secrecy management processing (step S715 in FIG. 32). The main controller 7 activates the secret management section 20 to check the secrecy rank included in the additional data of the source data read by the additional data management unit 18. If the rank is decided to be one or more (YES at step S750), confirmation data are requested to be received. That is, if a book code is decided to be set in the additional data (YES at step S751), a book code is received from the operation unit 4 (step S752). If a password is determined to be set in the additional data (YES at step S753), a password is received from the operation unit 4 (step S754). Then, if the input book code or password is decided not to agree with the data set in the additional data (NO at step S755), an alarm message is displayed in the operation unit 6 (step S756), and the forging record processing is performed (step S757, refer to FIG. 35). Thus, the illegal copy of a secret document can be prevented effectively. On the other hand, for a document of the rank of secret of zero, a password or the like is not requested to be inputted, and the copying operation of an ordinary document is allowed to continue.

FIG. 37 shows a flow of the record verification processing (step S726 in FIG. 32) for verifying the history of a hard copy from the additional data such as the generation code or the copy code stored in the filing unit 8. An item in a record includes user names and the corresponding images filed in the filing unit 8 (step S731 in FIG. 34). When a user sets search items (step S760), additional data are searched (step S761). If there is determined to be a corresponding data (YES at step S762), the searched additional data are displayed in the operation unit 4 (step S763). Further, if a print is requested (YES at step S764), the additional data and the image data are stored in the image memory 16 (step S765), and the output unit 6 is activated to print the data (step S766). After the hard copy is completed (YES at step S767), if it is determined that the search of all items set at step S760 is not completed (NO at step S768), the flow returns to step S761. Thus, the analysis of leakage path becomes easy by using the additional data. Further, because forged or edited documents can also be examined, it is not needed to check a document itself to determine if the forging or edition is performed or not.

FIG. 38 shows a flow of the addition of additional data (step S727 in FIG. 32). When data to be added is received (step S790), if it is decided to be a new password (YES at steps S791 and S792), the password is set in the additional data and it is stored in the additional data management section 18 (step S793). If the data is decided to be the secrecy rank which is newly set (YES at steps S794 and S795), the data is added to the additional data and it is stored in the additional data management section 18 (step S796). Otherwise a different processing is performed (step S797).

(4) Management Unit

4-1 Structure of the Management Unit

FIG. 39 shows a block diagram of the management unit 200 which comprises a processor (CPU) 204 for controlling the management unit 200. A terminal 201 is used to operate the management unit 200 and to display various data and messages. A communication section 203 communicates via the telephone line 105 with the image processors 100 and 101 to receive and send an additional data or the like. Usually a plurality of image processors 100 and 101 is connected to the management unit 200. The data received by the communication unit 203 are the data on all hard copies processed by the image processors. All additional data received are stored in a memory 205 and the result of copy management can be printed with a printer 202. For example, the management unit 200 counts the total copy number of a specified document, confirms the leakage path of a specified document and searches documents having a secrecy rank of one or more.

4-2 Format of Memory

The additional data received by the management unit 200 are stored in the memory 205 and managed systematically. First, additional data are classified for each image processor, and the additional data for an image processor are stored as a record. Each record comprises additional data embedded in a source and an additional data to be embedded in a hard copy. As compiled in Table 1, the additional data embedded in a source includes, for example, a document name, book code, page number, generation code, copy code, password number, rank of secret, total pixel number and forged document code.

4-3 Function of the Management Unit

FIG. 41 shows a flow of the management unit 200. If additional data are received from the additional data management section 18 or the secret management section 20 (YES at step S5001), the additional data are stored in the memory 205 (step S5002). If the total copy number, including a generation copy, is instructed (YES at step S5003), the total copy number is counted (step S5004, refer to FIG. 42). That is, the copy number of a specified source can be determined from the records and it can be decided if the secret copy is leaked illegally or not by comparing it with the total number of hard copies recorded separately. If the confirmation of leakage path is instructed (YES at step S5005), the leakage path is confirmed (step S5006, refer to FIG. 44). Otherwise, if for example the detection of the hard copy of secret documents is instructed, the records for documents of a secrecy rank of one or more are searched and the result is displayed at the operation unit 4 or printed at the output unit 6. Therefore, the situation of copying secret documents can be checked. If necessary, the name of the source, a user name and the like can be detected.

FIG. 42 shows a flow of the summation of a total copy number (step S5004 in FIG. 41). First, a source to be summed is designated with the terminal 201 (step S5010). Usually, a document name, a book code, or a page number is inputted. Then, all records on the specified source are searched in the memory 205 (step S5011). Next, the generation of the records is analyzed and a tree map of copy numbers in each generation is produced (step S5012). Usually, a tree map corresponds with the generation code. However, if there is a plurality of sources of the same document name, the copy code is used instead of generation code. Next, the copy number is summed (step S5013). If there is a plurality of tree maps, the sum is obtained for each tree map. Then, the results are displayed at the terminal 201 and are printed if necessary (step S5014).

FIG. 43 shows an example of a tree map obtained at step S5004. The hard copies obtained from the same original document are classified. At each generation, the apparatus recognition code and a user name are shown with a sum of the number of hard copies as well as the total sum thereof.

FIG. 44 shows a flow of the confirmation of leakage path (step S5006 in FIG. 42). First, a source to be summed is designated with the terminal 201 (step S5020). Usually, a document name, a book code, or a page number is inputted. Then, all records on the specified source are searched in the memory 205 (step S5021). Next, the generation of the records is analyzed and a tree map of the records at each generation is produced (step S5022). Usually, a tree map is generated with respect to the generation code. However, if there is a plurality of sources of the same document name, the copy code is used instead of the generation code. Next, the obtained tree map is displayed at the terminal 201 and is printed if necessary (step S5023).

FIG. 45 shows an example of a tree map obtained at step S5006. The hard copies obtained from the same original document are classified. At each generation, the apparatus recognition code and a user name are shown.

Although the present invention has been fully described in connection with the preferred embodiments thereof with reference to the accompanying drawings, it is to be noted that various changes and modifications are apparent to those skilled in the art. Such changes and modifications are to be understood as included within the scope of the present invention as defined by the appended claims unless they depart therefrom. 

What is claimed is:
 1. An image forming apparatus comprising:a first reading device for reading an image of a first document and producing image data representative of the image; an inputting device for inputting additional data; an embedding device for embedding input additional data into a portion of the image data of the first document read by said first reading device; and an outputting device for outputting a second document having an image with the same appearance as the image of the first document, where the image of the second document includes the additional data embedded by said embedding device.
 2. The apparatus according to claim 1, wherein said outputting device prints the image data on a sheet of paper.
 3. The apparatus according to claim 1, further comprising:a second reading device for reading the additional data embedded by said embedding device; an extracting device for extracting specified additional data from the additional data read by said second reading device; and a generating device for generating new additional data with a relationship to the additional data extracted by said extracting device; wherein said embedding device embeds the new additional data into image data for a third document image.
 4. The apparatus according to claim 1, further comprising:a second reading device for reading additional data embedded in a document; an extracting device for extracting specified additional data from the additional data read by said second reading device; and a generating device for generating new additional data with a relationship to the additional data extracted by said extracting device; wherein said embedding device embeds the new additional data into image data for a third document image.
 5. The apparatus according to claim 1, further comprising:a second reading device for reading additional data embedded in a document; an extracting device for extracting specified additional data from the additional data read by said second reading device; and a summing device for adding a number of copies made of the document to the additional data extracted by said extracting device and forming new additional data.
 6. The apparatus according to claim 1, further comprising:an extracting device for extracting specified additional data from additional data read by the first reading device from a document; and a generating device for generating new additional data with a relationship to the additional data extracted from the document by said extracting device, wherein the embedding device embeds the new additional data into image data for a third document.
 7. An image forming apparatus comprising:a generating device for generating image data from a source, the image data including additional data embedded therein; an extracting device for extracting the additional data from the image data; and a managing device coupled to the extracting device for managing information related to copies of the source based on the additional data extracted from the image data.
 8. The apparatus according to claim 7, further comprising:a summing device for determining a total number of copies of image data of a specified source based upon the additional data managed by said managing device.
 9. The apparatus according to claim 7, further comprising:an analyzing device for determining a distribution path of image data from a specified source based upon the additional data managed by said managing device.
 10. An image forming apparatus comprising:a generating device for generating image data; an extracting device for extracting additional data from the image data generated by said generating device; a processing device for processing the image data generated by said generating device; an embedding device for embedding the additional data extracted by said extracting device into the image data processed by said processing device; and an outputting device for outputting image data with the additional data embedded by said embedding device.
 11. An image forming apparatus comprising:a first reading device for reading an image of a first document and producing image data representative of the image; an inputting device for inputting additional data; an embedding device for embedding input additional data into a portion of the image data of the first document read by said first reading device; and an outputting device for outputting a second document having an image similar in appearance to the image of the first document, where the image of the second document includes the additional data embedded by said embedding device and the additional data is indiscernible to a human observer, wherein the input additional data is independent of the image data of the first document.
 12. The apparatus according to claim 11, further comprising:an extracting device for extracting specified additional data from additional data read by the first reading device from the second document; and a generating device for generating new additional data with a relationship to the additional data extracted from the second document by said extracting device, wherein the embedding device embeds the new additional data into image data for a third document.
 13. The apparatus according to claim 11, further comprising:a second reading device for reading additional data embedded in a document; an extracting device for extracting specified additional data from the additional data read by said second reading device; and a generating device for generating new additional data with a relationship to the additional data extracted by said extracting device; wherein said embedding device embeds the new additional data into image data for a third document image.
 14. The apparatus according to claim 13, wherein the generating device includes a summing device for adding a number of copies made of the document to the additional data extracted by said extracting device.
 15. An image forming apparatus for forming an image from a document having a transmission device, the apparatus comprising:a reading device for reading an image of a document and producing image data representative of the image; a receiving device for receiving a transmission of additional data from the document; an embedding device for embedding received additional data into a portion of the image data of the first document read by said first reading device; and an outputting device for outputting a second document having an image similar in appearance to the image of the first document, where the image of the second document includes the additional data embedded by said embedding device and the additional data is indiscernible to a human observer.
 16. The apparatus according to claim 15, further comprising:a second reading device for reading additional data embedded in a document; an extracting device for extracting specified additional data from the additional data read by said second reading device; and a generating device for generating new additional data with a relationship to the additional data extracted by said extracting device; wherein said embedding device embeds the new additional data into image data for a third document image.
 17. A copy management system, comprising:a reading device for reading an image of a first document and producing image data representative of the image; an inputting device for inputting additional data; an embedding device for embedding input additional data into a portion of the image data of the first document read by said first reading device; an outputting device for outputting a second document having an image similar in appearance to the image of the first document, where the image of the second document includes the additional data embedded by said embedding device and the additional data is indiscernible to a human observer; and a management device for managing input additional data.
 18. The apparatus according to claim 17, further comprising:an extracting device for extracting specified additional data from additional data read by the reading device from a document; and a generating device for generating new additional data with a relationship to the additional data extracted from the document by said extracting device, wherein the management device manages additional data extracted from the document, and wherein the embedding device embeds the new additional data into image data for a third document.
 19. The apparatus according to claim 18, wherein the management device manages new additional data. 